module BatchedSqlFu
  class Error < StandardError; end
  
  def flush_batch_limit
    @flush_batch_limit ||= 100
  end
  
  def reset_batch_sql_collection!
    @batch_sql_collection = nil
  end
  
  def batch_sql_collection
    @batch_sql_collection ||= BatchSqlCollection.new(flush_batch_limit, self)
  end
end